package com.shishuo.cms.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.shishuo.cms.entity.MenuEntity;
@Repository("menuDao")
public interface MenuDao extends IBaseDAO<MenuEntity, Integer>{

	List<MenuEntity> getMenus(int id);

	List<MenuEntity> getMenus(int id, int userId);

	List<MenuEntity> getMenus();

	List<MenuEntity> getChildMenus(int parentId);

}
